package com.ytzl.itrip.service;

import com.ytzl.itrip.pojo.ItripLabelDic;
import com.ytzl.itrip.common.Page;
import com.ytzl.itrip.vo.ItripLabelDicVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripLabelDicService {

    public ItripLabelDic getItripLabelDicById(@Param(value = "id") Long id) throws Exception;

    public List<ItripLabelDic> getItripLabelDicListByMap(Map
                                                                 <String, Object> param) throws Exception;

    public Integer getItripLabelDicCountByMap(Map
                                                      <String, Object> param) throws Exception;

    public Integer saveItripLabelDic(ItripLabelDic itripLabelDic) throws Exception;

    public Integer modifyItripLabelDic(ItripLabelDic itripLabelDic) throws Exception;

    public Integer removeItripLabelDicById(@Param(value = "id") Long id) throws Exception;

    public Page<ItripLabelDic> queryItripLabelDicPageByMap(Map
                                                                   <String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Integer removeItripLabelDicByIds(@Param(value = "ids") Long[] ids) throws Exception;

    List<ItripLabelDicVO> getItripLabelDicByParentId(Long parentId) throws Exception;
}
